<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Filter</title>
    <script type="text/javascript" src="http://code.angularjs.org/angular-1.0.1.min.js"></script>
    <script type="text/javascript" src="Controller.js"></script>
</head>

<body ng-app ng-controller="PhonesController">
    <div class="search">
        Search: <input autofocus type="text" ng-model="phone_query">
    </div>
    <div class="phone-list" >
        <ul>
            <li ng-repeat="phone in phones | filter: phone_query">
                {{phone.name}}
                <p>{{phone.snippet}}</p>
            </li>
        </ul>
    </div>
    <img src="tutorial_03.png" alt="">
    <button ng-click="fuck()">add</button>
</body>
</html>